import { createApp } from 'vue'
import store from './stores'
import 'normalize.css'
import './assets/css/index.less'
import registerIcons from './global/register-icons'

import App from './App.vue'
import router from './router'

// 1、全局注册
// import ElementPlus from 'element-plus'
// 2、按需导入，通过npm install -D unplugin-vue-components unplugin-auto-import

// 1、全局引入样式
// import 'element-plus/dist/index.css'
// 2、针对ElMessage和Elloading等组件引入样式
// 3、import 'element-plus/theme-chalk/el-message.css'
// 通过vite-plugin-style-import插件


const app = createApp(App)

// app.use(ElementPlus)
app.use(registerIcons)
app.use(store)
app.use(router)
app.mount('#app')
